package com.fish.common.jms;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


public class ManualSender {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext-common-beans.xml");
		TopicMessageProducer orderMessageProducer=(TopicMessageProducer)context.getBean("testMessageProducer");
		orderMessageProducer.sendMsg(MessageFactory.newCertSmsSendMessage(111L, "msg"));
	}
}
